import { ApiProperty } from '@nestjs/swagger';
import { FindLimitDto } from 'src/dto/find-limit-dto';

export class findSmtpDto extends FindLimitDto {
  @ApiProperty({ description: '发送邮件' })
  readonly fromEmail?: string;

  @ApiProperty({ description: '接收邮件邮件' })
  readonly toEmail?: string;

  @ApiProperty({ description: '状态 0：成功，1：失败' })
  readonly isSuccess?: number; // 是否发送成功
}
